package cn.xp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @Description 用户服务的启动类
 * @Author Raymon
 * @Date 2023/4/14 10:48
 * @Version 1.0
 */
@SpringBootApplication
// 开启Nacos客户端
@EnableDiscoveryClient
@RefreshScope // 动态刷新配置注解
public class UserApp {
    public static void main(String[] args) {
        SpringApplication.run(UserApp.class,args);
    }
}